home *** CD-ROM | disk | FTP | other *** search
/ Merciful 1 / Merciful - Disc 1.iso / software / a / amiga_vision_professional / amigavisionprofessiv2.04e.dms / in.adf / CallingFlows.doc < prev    next >
Encoding:
Text File  |  1992-12-01  |  1.3 KB  |  32 lines

  1. NAME
  2.     CallingFlows.AVf
  3.  
  4.  
  5. DESCRIPTION
  6.  
  7.     CallingFlows.AVf shows an example of how AmigaVision can chain to
  8.     other .AVf files using the Call Mode. It also demonstrates how these
  9.     called flows use the QUIT Icon to return back to the calling flow.
  10.  
  11.     Use the Expression Editor field of a QUIT Icon when you want to exit
  12.     a specific module of your flow, or when you want to exit from a
  13.     called flow and return to the calling flow.
  14.  
  15.     If there is an expression in the Expression Editor field of a QUIT
  16.     Icon, AmigaVision Professional will search for a parent icon whose
  17.     name equals the string resulting from the expression. If there is a
  18.     match, that parent icon is exited and its next sibling is executed.
  19.  
  20.     The QUIT Icon labeled "Exit this flow only." in Flow1.AVf has a
  21.     variable (ModuleName) in its Expression Editor field. ModuleName was
  22.     defined to equal the name of the MODULE Icon at the beginning of the
  23.     flow. When the module you want to quit is the first MODULE Icon in a
  24.     called flow, the flow quits and control returns to the calling .AVf
  25.     file (in this case, CallingFlows.AVf). Any sibling of the MODULE Icon
  26.     is not executed.
  27.  
  28.     When you call Flow2.AVf, control returns to the main calling flow,
  29.     CallingFlows.AVf, in the same way.
  30.  
  31.  
  32.